package com.wzc.order.service;

import com.wzc.basic.service.IBaseService;
import com.wzc.basic.util.PageList;
import com.wzc.order.domain.OrderPetAcquisition;
import com.wzc.order.dto.OrderDto;
import com.wzc.order.query.OrderPetAcquisitionQuery;

public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {


    /**
     * 订单查询
     * @param query
     * @param id
     * @return
     */
    PageList<OrderPetAcquisition> queryQuery(OrderPetAcquisitionQuery query, Long id);

    /**
     * 订单确认
     * @param dto
     */
    void confirm(OrderDto dto) throws Exception;

    /**
     * 取消订单
     * @param id
     */
    void cancel(Long id);
}
